package top.huhuiyu.spirngboot2.total.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

@TableName("tb_role")
@Data
public class TbRole implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer rid;
    private String roleName;
    private String roleInfo;
    @TableLogic
    @TableField(updateStrategy = FieldStrategy.NEVER, insertStrategy = FieldStrategy.NEVER)
    private String deleted;
}
